package SecurityCheck;

public class StationSecurityCheck {
    public static void main(String[] args) {
        SecurityScanner scanner = new SecurityScanner();
        String[] items = {"水杯", "刀具", "书本", "汽油", "手机"};

        for (String item : items) {
            try {
                scanner.scanItem(item);
            } catch (DangerousItemException e) {
                System.err.println(e.getMessage());
            }
        }
    }
}
